/**
 * Craeted with IntelliJ IDEA.
 * Description:
 * User:23687
 * Date:2024-09-23
 * Time:8:39
 */
import java.util.Scanner;
public class TestDemo {
    public static double fanc(double a){
        if(a%2==0){
            a=-(1/a);
        }
        else{
            a=(1/a);
        }
        return a;
    }

    public static int gcd(int a,int b){
        int r=a%b;
        while(r!=0){
            a=b;
            b=r;
            r=a%b;
        }
        return b;
    }
    public static void main(String[] args){
        /*int i=0;
        double sum=0;
        for(i=1;i<=100;i++){
           sum=sum+fanc(i);
        }
        System.out.println(sum);
       Scanner sc=new Scanner(System.in);
       while(sc.hasNextInt()){
           int num1=sc.nextInt();
           int num2=sc.nextInt();
           if(num1==0||num2==0){
               System.out.println("No result");
           }
           else{
               System.out.println("The result is"+ gcd(num1,num2));
           }
       }*/
        /*int n=-1;
        int count=0;
        for(int i=0;i<=32;i++){
            if((n&1)==1){
                count++;
            }
            n=n>>>1;
        }
        System.out.println(count);*/
        /*int i=0;
        float sum=0;
        for(i=1;i<=100;i++) {
            if (i % 2 == 1) {
                sum = sum + (float)(1/i);
            } else {
                sum = sum - (float)(1/i);
            }
        }
        System.out.println(sum);*/
        
    }
}
